The AAs_PTMs_NMPs_Epigenetics_Sacs_Peps_classifier
****************************************************************************************************************************************************

 1. Introduction

The AAs_PTMs_NMPs_Epigenetics_Sacs_Peps_classifier is an automatic classification system based on machine learning for amino acid, post-translationally modified (PTM) amino acid, nucleoside monophosphate, epigenetically modified nucleoside monophosphate, saccharide and peptide nanopore events.

This code contains two parts as follows:
a. Import dataset.
b. Train Ensemble Classifier.

 2. Operating procedures: 

-Unzip the AAs_PTMs_NMPs_Epigenetics_Sacs_Peps_classifier.rar to local folder. 
-Open AAs_PTMs_NMPs_Epigenetics_Sacs_Peps_classifier.m in MATLAB.
-Enter the file name of the training set in line 2. // example: Training Set.xlsx
-Enter the file name of the testing set in line 3. // example: Testing Set.xlsx
-Run AAs_PTMs_NMPs_Epigenetics_Sacs_Peps_classifier.m. The running time is about one minutes.

3. Output

a. The values of the variables "ValidationAccuracy" and "TestingAccuracy" are output in the command window.
b. The confusion matrix is output in the figure panel and saved as "output.jpg" in local folder.